﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using APILocawebGatewayUI.Nucleo;

namespace APILocawebGatewayUI.Nucleo
{
    public partial class APILocawebConfiguration : ConfigurationSection
    {
        [ConfigurationProperty("Amex", IsRequired = true)]
        public AmexElement Amex
        {
            get { return (AmexElement)base["Amex"]; }
            set { base["Amex"] = value; }
        }

        public class AmexElement : ConfigurationElement
        {
            [ConfigurationProperty("Ambiente", DefaultValue = "teste", IsRequired = true)]
            public string Ambiente
            {
                get { return (string)base["Ambiente"]; }
                set { base["Ambiente"] = value; }
            }
        }
    }
}
